package com.tanhua.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @Classname TanhuaServerApplication
 * @Description TODO 消费者启动类
 * @Date 2021/3/6 18:42
 * @Created by gan
 */
@SpringBootApplication(exclude = {
        MongoAutoConfiguration.class
}) //排除mongo的自动配置
@Slf4j
@EnableCaching//开启缓存注解
public class TanhuaServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(TanhuaServerApplication.class,args);
        log.info("启动成功");
    }
}
